﻿// JScript File

function GetCurrentTimeInFullFormat()
{
    var now = new Date();
    var s = "";
    
    // This array holds the "friendly" day names
    var day_names = new Array(7)
    day_names[0] = "Sunday"
    day_names[1] = "Monday"
    day_names[2] = "Tuesday"
    day_names[3] = "Wednesday"
    day_names[4] = "Thursday"
    day_names[5] = "Friday"
    day_names[6] = "Saturday"

    // This array holds the "friendly" month names
    var month_names = new Array(12)
    month_names[0] = "January"
    month_names[1] = "February"
    month_names[2] = "March"
    month_names[3] = "April"
    month_names[4] = "May"
    month_names[5] = "June"
    month_names[6] = "July"
    month_names[7] = "August"
    month_names[8] = "September"
    month_names[9] = "October"
    month_names[10] = "November"
    month_names[11] = "December"

    s += day_names[now.getDay()];
    s += ", ";
    s += month_names[now.getMonth()];
    s += " ";
    s += now.getDate();
    s += " ";
    s += now.getFullYear();   
    
    return s;
}